import React from 'react'
import './index.less'
// ========================================
class Step extends React.Component {
    render() {
        return (
            <div id="stepsBox">
                <div className="steps">
                    <div className="steps-date">{this.props.date}</div>
                    <div className="steps-circel">
                        {this.props.circel}
                    </div>
                    <div className="steps-words">
                        <div className="steps-title">{this.props.title}</div>
                        <div className="steps-txt">{this.props.txt}</div>
                    </div>
                </div>
                {
                    this.props.line ? <div className="steps-line"></div> : ''
                }
            </div>
        );
    }
}
// ========================================
export default Step;